package com.itcat.service;

import com.itcat.common.CommonPage;
import com.itcat.mysql.param.DeliveryParam;
import com.itcat.mysql.param.MoneyInfoParam;
import com.itcat.mysql.param.OmsOrderParam;
import com.itcat.mysql.param.ReceiverInfoParam;
import com.itcat.mysql.pojo.OmsOrder;
import com.itcat.mysql.vo.OmsOrderVo;
import org.springframework.stereotype.Service;

import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.List;

@Service
public interface OmsOrderService {

    //订单列表分页查询
    public CommonPage OrderList(OmsOrderParam omsOrderParam);

    //批量删除订单
    void delete(Integer[] ids);

    //批量关闭订单
    void close(Integer[] ids, String note);

    //批量发货
    void delivery(List<DeliveryParam> list/*, String deliverySn, Integer orderId*/);

    //查询订单详情
    OmsOrderVo orderDetail(Integer id);

    //订单备注
    void note(Integer id, String note, Integer status);

    //修改收货人信息
    void receiverInfo(ReceiverInfoParam receiverInfoParam);

    //修改订单费用信息
    void moneyInfo(MoneyInfoParam moneyInfoParam);

}
